#!/bin/bash

TAG="1.1"
IMAGE_NAME="jraysx/big-market-front-app"

echo "🚧 构建镜像：$IMAGE_NAME:$TAG"
docker build -t $IMAGE_NAME:$TAG .

echo "📦 镜像构建完成，当前镜像列表："
docker images | grep big-market

echo "☁️ 推送镜像到 Docker Hub..."
docker push $IMAGE_NAME:$TAG

echo "✅ 镜像推送完成！"
